[HVM][VNC] Fix typo.
authorSteven Smith <ssmith@xensource.com>
Tue, 26 Sep 2006 18:50:07 +0000 (19:50 +0100)
committerSteven Smith <ssmith@xensource.com>
Tue, 26 Sep 2006 18:50:07 +0000 (19:50 +0100)
Signed-off-by: Steven Smith <sos22@cam.ac.uk>
tools/ioemu/vnc.c

index f5581c2342c8e4ef17762ad19345fbc2eb6841b3..0fd6297916db6c61c8ce7419f67c6210fb3367ff 100644 (file)
@@ -1132,7 +1132,7 @@ static int protocol_client_msg(VncState *vs, char *data, size_t len)
            uint32_t v;
            v = read_u32(data, 4);
            if (v)
-               return 8 + 4;
+               return 8 + v;
        }
 
        client_cut_text(vs, read_u32(data, 4), data + 8);